package com.hgw.Demo02_adapterPattern.Exercises9_9_8ObjectAdapter;

/**
 * Data time:2021/12/14 14:06
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class Client {

    public static void main(String[] args) {
        DatabaseOperationImpl databaseOperation = new DatabaseOperationImpl();
        databaseOperation.emailEncryption();
        databaseOperation.passwordEncryption();
        System.out.println("+====================");
        AdapterDO aDo = new AdapterDO(new ThirdPartyImpl());
        aDo.emailEncryption();
        aDo.passwordEncryption();
    }

}
